home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1431.dms / var1431.adf / NDUK-V39.lha / V39 / fd / iffparse_lib.fd < prev    next >
Text File  |  1992-09-22  |  2KB  |  79 lines

  1. * "iffparse.library"
  2. ##base _IFFParseBase
  3. ##bias 30
  4. ##public
  5. *--- functions in V36 or higher (distributed as Release 2.0) ---
  6. *
  7. * Basic functions
  8. *
  9. AllocIFF()()
  10. OpenIFF(iff,rwMode)(a0,d0)
  11. ParseIFF(iff,control)(a0,d0)
  12. CloseIFF(iff)(a0)
  13. FreeIFF(iff)(a0)
  14. *
  15. * Read/Write functions
  16. *
  17. ReadChunkBytes(iff,buf,numBytes)(a0/a1,d0)
  18. WriteChunkBytes(iff,buf,numBytes)(a0/a1,d0)
  19. ReadChunkRecords(iff,buf,bytesPerRecord,numRecords)(a0/a1,d0/d1)
  20. WriteChunkRecords(iff,buf,bytesPerRecord,numRecords)(a0/a1,d0/d1)
  21. *
  22. * Context entry/exit
  23. *
  24. PushChunk(iff,type,id,size)(a0,d0/d1/d2)
  25. PopChunk(iff)(a0)
  26. *--- (1 function slot reserved here) ---
  27. ##bias 102
  28. *
  29. * Low-level handler installation
  30. *
  31. EntryHandler(iff,type,id,position,handler,object)(a0,d0/d1/d2/a1/a2)
  32. ExitHandler(iff,type,id,position,handler,object)(a0,d0/d1/d2/a1/a2)
  33. *
  34. * Built-in chunk/property handlers
  35. *
  36. PropChunk(iff,type,id)(a0,d0/d1)
  37. PropChunks(iff,propArray,numPairs)(a0/a1,d0)
  38. StopChunk(iff,type,id)(a0,d0/d1)
  39. StopChunks(iff,propArray,numPairs)(a0/a1,d0)
  40. CollectionChunk(iff,type,id)(a0,d0/d1)
  41. CollectionChunks(iff,propArray,numPairs)(a0/a1,d0)
  42. StopOnExit(iff,type,id)(a0,d0/d1)
  43. *
  44. * Context utilities
  45. *
  46. FindProp(iff,type,id)(a0,d0/d1)
  47. FindCollection(iff,type,id)(a0,d0/d1)
  48. FindPropContext(iff)(a0)
  49. CurrentChunk(iff)(a0)
  50. ParentChunk(contextNode)(a0)
  51. *
  52. * LocalContextItem support functions
  53. *
  54. AllocLocalItem(type,id,ident,dataSize)(d0/d1/d2/d3)
  55. LocalItemData(localItem)(a0)
  56. SetLocalItemPurge(localItem,purgeHook)(a0/a1)
  57. FreeLocalItem(localItem)(a0)
  58. FindLocalItem(iff,type,id,ident)(a0,d0/d1/d2)
  59. StoreLocalItem(iff,localItem,position)(a0/a1,d0)
  60. StoreItemInContext(iff,localItem,contextNode)(a0/a1/a2)
  61. *
  62. * IFFHandle initialization
  63. *
  64. InitIFF(iff,flags,streamHook)(a0,d0/a1)
  65. InitIFFasDOS(iff)(a0)
  66. InitIFFasClip(iff)(a0)
  67. *
  68. * Internal clipboard support
  69. *
  70. OpenClipboard(unitNumber)(d0)
  71. CloseClipboard(clipHandle)(a0)
  72. *
  73. * Miscellaneous
  74. *
  75. GoodID(id)(d0)
  76. GoodType(type)(d0)
  77. IDtoStr(id,buf)(d0/a0)
  78. ##end
  79.